package creational.builder;

public class MovieBuilder implements PresentationBuilder {
  private final Movie movie = new Movie();

  @Override
  public void addSlide(Slide slide) {
    movie.addFrame(slide.getText(), 5); // Assuming each slide lasts 5 seconds
  }

  public Movie build() {
    return movie;
  }
}
